package cn.ffcs.uec.staff.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.staff.dao.UecPunishDao;
import cn.ffcs.uec.staff.manager.UecPunishManager;
import cn.ffcs.uec.staff.model.UecPunish;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecPunishManager")
@Scope("prototype")
public class UecPunishManagerImpl implements UecPunishManager {

	@Resource
	private UecPunishDao uecPunishDao;

	@Override
	public PageInfo queryPageInfoByUecPunish(UecPunish uecPunish, int current, int pageSize) {
		return uecPunishDao.queryPageInfoByUecPunish(uecPunish, current, pageSize);
	}

	@Override
	public UecPunish findUecPunishById(UecPunish uecPunish) {
		return uecPunishDao.findUecPunishById(uecPunish);
	}

	@Override
	public PageInfo queryPageInfoByUecPunishOnApproval(UecPunish uecPunish,
			int current, int pageSize) {
		return uecPunishDao.queryPageInfoByUecPunishOnApproval(uecPunish, current, pageSize);
	}


}
